<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>登录</title>

    <link rel="shortcut icon" href="static/img/favicon.png" type="image/png">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="static/css/bootstrap.css">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->

    <style>
      .login-wrapper {
        display: flex;
        flex-direction: row;
        height: 100vh;
      }
      .login-bg {
        flex: 1 1 50%;
        background: url(./static/img/login_bg.jpg);
        background-position: left top;
        background-repeat: no-repeat;
        background-size: cover;
        background-color: rgba(153, 153, 153, 1);
        background-color: #fff;
        height: 100vh;
      }
      main {
        flex: 1 1 50%;
      }
      .login-header {
        padding-top: 50px;
      }
      .login-title,
      .login-subtitle {
        margin: 20px auto;
        text-align: center;
      }
      .login-title > img {
        display: inline-block;
        height: 60px;
        vertical-align: middle;
      }
      .login-title > span {
        margin: 0 20px;
        font-size: 20px;
        font-weight: 500;
      }
      .login-subtitle {
        font-size: 18px;
      }
      .login-subtitle > h4 {
        font-weight: 400;
        font-size: 24px;
      }
      .login-body > form {
        width: 300px;
        margin: 0 auto;
        padding: 20px;
      }
      .copyright {
        margin-top: 120px;
        text-align: center;
      }
    </style>
  </head>
  <body>
    <div class="login-wrapper">
      <div class="login-bg">
      </div>
      <main>
        <div class="login-header">
          <div class="login-title">
            <img src="static/img/logo.svg">
          </div>
          <div class="login-subtitle">
            <h4>Another Kit for Admin</h4>
          </div>
        </div>
        <div class="login-body">
          <form>
            <div class="form-group">
              <label class="control-label">用户名：</label>
              <input type="text" name="username" placeholder="请输入用户名" class="form-control" autocomplete="off" required>
            </div>
            <div class="form-group">
              <label class="control-label">密码：</label>
              <input type="text" name="password" placeholder="请输入密码" class="form-control" required>
            </div>
            <div class="form-group">
              <input type="submit" class="btn btn-block btn-success" value="登录">
            </div>
          </form>
        </div>
        <div class="copyright">
          上海华能电子商务有限公司
        </div>
      </main>
    </div>
    
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="static/js/jquery-2.2.4.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="static/js/bootstrap.min.js"></script>
  </body>
</html>